home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
TCL1
/
CEDITOR_
/
CTEXTENV.H
< prev
next >
Wrap
Text File
|
1992-01-12
|
1KB
|
35 lines
/***************************************************************************************
CTextEnviron.h SUPERCLASS = CEnvironment
Keeps track of the font and size settings for the GrafPort.
Copyright ⌐ BRH Toolsmith, 1992. All rights reserved.
Developed using THINK C 4.0.2 and Symantec's OOP libraries.
Portions of this code courtesy Symantec, Inc.
This code may be freely distributed as long as this notice remains. If you wish
to distribute modifications to these classes, please make a copy of the class
and implement your changes there. That's the beauty of OOP!
NOTE: tabs in this file are set at 4 in THINK C.
***************************************************************************************/
#define _H_CTextEnviron
#include <CEnvironment.h>
struct CTextEnviron : CEnvironment {
short fontNumber;
short fontSize;
void ITextEnviron( short aFontNumber, short aFontSize );
void Restore( void ); /** OVERRIDE **/
void SetFontNumber( short aFontNumber );
void SetFontSize( short aFontSize );
short GetFontID( void );
short GetFontSize( void );
};